<?php

namespace app\api\validate;

use think\Validate;

class User extends Validate
{
    protected $rule = [
        'name|姓名' => ['require'],
        'cardNo|身份证号' => ['require'],
        'cardBack|身份证反面' => ['require'],
        'cardFront|身份证正面' => ['require']
    ];

    protected $scene = [
        'seller_legalize' => ['name', 'cardNo', 'cardBack', 'cardFront']
    ];
}